package homework2;

class cat extends animal {
    @Override
    public void eat() {
        System.out.println(getLeg() + "条腿的" + getColor() + "的猫吃鱼");
    }

    public void catchMouse() {
        System.out.println(getLeg() + "条腿的" + getColor() + "的猫抓老鼠");
    }

}
